projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dc8d1f
)
Cast the return value of g_array_free to void* before casting to char**
author
Ting-Wei Lan
<lantw@src.gnome.org>
Sat, 9 Jan 2016 09:24:12 +0000
(17:24 +0800)
committer
Ting-Wei Lan
<lantw@src.gnome.org>
Sun, 10 Jan 2016 16:23:46 +0000
(
00:23
+0800)
Let the compiler know that we don't want to use it as char*, so there is
no alignment error.
https://bugzilla.gnome.org/show_bug.cgi?id=760350
https://bugzilla.gnome.org/show_bug.cgi?id=755659
gtk/gtkactionmuxer.c
patch
|
blob
|
history
diff --git
a/gtk/gtkactionmuxer.c
b/gtk/gtkactionmuxer.c
index 643aeb31900263afd63487926a6eed37d3e2f00f..d8edef0e78bb39062b0d5b01610ab5ceac8011d5 100644
(file)
--- a/
gtk/gtkactionmuxer.c
+++ b/
gtk/gtkactionmuxer.c
@@
-138,7
+138,7
@@
gtk_action_muxer_list_actions (GActionGroup *action_group)
actions);
}
- return (gchar **) g_array_free (actions, FALSE);
+ return (gchar **)
(void *)
g_array_free (actions, FALSE);
}
static Group *